Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how-to/command-line-quick-start refactor #1444

Merged
merged 6 commits into from
Jan 27, 2023
Merged

Conversation

ElPaisano
Copy link
Contributor

@ElPaisano ElPaisano commented Jan 24, 2023

Latest draft click here

Describe your changes

Addresses #1443 and #1440 - read issue descriptions

Hey reviewers 👋 discussion:

  • Not sure what the best name for this guide is, but I think it should relate to what the tutorial is about, and "IPFS Kubo Tutorial" is way too generic. Thoughts?

Files Changes

Checklist before requesting a review

  • Passing the beta version of the Check Markdown links for modified files check. Action results can be viewed here.

Checklist before merging

  • Passing all required checks (The beta Check Markdown links for modified files check is not required)

@2color
Copy link
Member

2color commented Jan 25, 2023

Step 4 of https://bafybeidvobdv5i3pjscvsityfe6kzpkaqmdze6jyk5irmzydmaf7yex2ea.on.fleek.co/how-to/command-line-quick-start/#interact-with-the-node-using-the-web-console is not working for me - when I try to copy the file over to the MFS that was added in step 8 of https://bafybeidvobdv5i3pjscvsityfe6kzpkaqmdze6jyk5irmzydmaf7yex2ea.on.fleek.co/how-to/command-line-quick-start/#take-your-node-online using its hash, I see Error: argument "dest" is required.

The command should be ipfs files cp /ipfs/QmabZ1pL9npKXJg8JGdMwQMJo2NCVy9yDVYjhiHK4LTJQH /meow.txt

You can think of the ipfs files cp command as similar to cp with the difference that / is the root of MFS.


You can explore other objects in the repository. In particular, the `quick-start` directory which shows example commands to try:
```bash
ipfs cat /ipfs/QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG/readme
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably time to:

  • Update this file and remove the alpha software warning
  • use a CidV1

Copy link
Contributor Author

@ElPaisano ElPaisano Jan 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@2color

RE use a CidV1:

Are you saying we should update this tutorial to use CIDv1 instead of CIDv0? Make sense to me.

Trying to dogfood our own docs here, I see https://docs.ipfs.tech/how-to/best-practices-for-ipfs-builders/#use-cidv1-for-future-proof-addressing-and-case-insenstive-contexts -> should we just add a step in to this telling the user to run ipfs add --cid-version 1 (this is probably a good opportunity for me to get more hands on with IPFS)

Also, seems like that comment could apply to all docs in the tutorial, so seems like we should create an issue to update tutorials to use CIDv1?

RE update the readme:

Created this PR ipfs/kubo#9590 pls take a look and lmk if that captures the suggested updates

@@ -7,17 +7,24 @@ description: The IPFS Companion browser extension allows you to interact with yo

IPFS Companion allows you to interact with your IPFS node and the extended IPFS network through your browser. The add-on is available for Brave, Chrome, Edge, Firefox, and Opera. It enables support for `ipfs://` addresses, automatically loads websites and file paths from an IPFS gateway, allows you to easily import and share a file with IPFS, and more.

IPFS Companion works in tandem with an IPFS node running on your local machine, so make sure you have a [node installed](ipfs-desktop.md) before installing this add-on.
## Prerequsities
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like that you're adding this Prerequsities section. I'd note that you can still use IPFS companion without a local node though you lose some of the functionality.

For example, you can load websites with DNSLink via a gateway.

@lidel WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@2color 2color left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is overall a significant improvement

ElPaisano and others added 5 commits January 25, 2023 11:22
Co-authored-by: Daniel Norman <1992255+2color@users.noreply.github.com>
Co-authored-by: Daniel Norman <1992255+2color@users.noreply.github.com>
@ElPaisano
Copy link
Contributor Author

ElPaisano commented Jan 25, 2023

Cheers @2color confirmed locally and updated the copy per #1444 (comment)

ElPaisano added a commit to ElPaisano/kubo that referenced this pull request Jan 25, 2023
In (currently in progress), @2color pointed out that we should probably remove the alpha software warning in this file ipfs/ipfs-docs#1444 (comment) because the software is no longer in alpha (right?)

@2color anything else you'd suggest updating here?
@ElPaisano ElPaisano added this to the 1/20/22-1/20/27 milestone Jan 26, 2023
@ElPaisano ElPaisano self-assigned this Jan 26, 2023
@ElPaisano ElPaisano added the need/maintainers-input Needs input from the current maintainer(s) label Jan 26, 2023
@ElPaisano ElPaisano removed the request for review from lidel January 26, 2023 23:09
@ElPaisano
Copy link
Contributor Author

ElPaisano commented Jan 26, 2023

@TMoMoreau Mo could I get a copy review on this PR? This is one of those pages in the docs that will probably be iterated on a few times, but this PR seems to improve some stuff and has tech approval

@TMoMoreau
Copy link
Contributor

@ElPaisano Sure thing, I've actually already reviewed it, just forgot to actually leave the review, I'll give it another quick scan.

Also, I'm not sure who has the GitHub name t, but you've just @'ed them in your comment.

@ElPaisano
Copy link
Contributor Author

@ElPaisano Sure thing, I've actually already reviewed it, just forgot to actually leave the review, I'll give it another quick scan.

Also, I'm not sure who has the GitHub name t, but you've just @'ed them in your comment.

@TMoMoreau cheers, just pushed a quick update for some typos / nits

Fixed the t lol

Copy link
Contributor

@TMoMoreau TMoMoreau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@ElPaisano ElPaisano merged commit 82da951 into ipfs:main Jan 27, 2023
ElPaisano added a commit to ElPaisano/ipfs-docs that referenced this pull request Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need/maintainers-input Needs input from the current maintainer(s)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

how-to/command-line-quick-start refactor proposal Move all the Kubo specific guides into the same category
3 participants